NAVIÉ

FXVectorChannel

FXVectorChannel

const vector3d& GetRangeMinimum (void)


Returns
the minimum vector value this vector channel can hold.

const vector3d& GetRangeMaximum (void)


Returns
the maximum vector value this vector channel can hold.

const vector3d& GetResetValue (void)


Returns
the vector value this channel is reset with (whenever it is reset)

void GetBounds (vector3d& ref_minimum, vector3d& ref_maximum)


Parameters
vector3d& ref_minimum:
Filled with the minimum position of the channel's bounds

vector3d& ref_maximum:
Filled with the maximum position of the channel's bounds



bool Inside (const vector3d& physical_position)


Returns
true if the given physical position is inside the channel bounds

Parameters
const vector3d& physical_position:
The physical position to check the inside state for.

bool InsideGrid(const vector3d& physical_position)


Same as Inside but here the position is internally first converted into grid cell space.

Returns
true if the given physical position is inside the channel bounds.

Parameters
const vector3d& physical_position:
The physical position to check the inside state for.

vector3d GetValue (const vector3d& physical_position)


Returns
the vector value at the specifid physical position

Parameters
const vector3d& physical_position:
The physical position to get the grid channel value for.

bool Resize (vector3d& ref_minimum, vector3d& ref_maximum)


Returns
true if channel was successfully resized

Parameters
vector3d& ref_minimum:
This is the minimum position of the resized channel bounds

vector3d& ref_maximum:
This is the maximum position of the resized channel bounds



void UpdateBounds (void)


Call UpdateBounds if you modified the data of the channel.